home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 054a / captask.zip / CAPTASK.TXT next >
Text File  |  1993-02-27  |  6KB  |  104 lines

  1. CapTask: A Norton Desktop for Windows 2.0 batch program doing the following:
  2.             1. Display date/time/system-resourse/free-memory on the caption 
  3.                bar of the active window/icon.
  4.             2. Allow you to choose from the current tasks to toggle shown/
  5.                hidden status.
  6.             3. Allow you to choose from the current tasks to kill/terminate.
  7.             4. Allow you to choose from current tasks to change the window
  8.                title.
  9.             5. Arrange the desktop as cascade/tile/row/column or to arrange
  10.                icons.
  11.             5. Terminate/restart Windows session.
  12.             6. Reboot computer.
  13.          WinBatch, on which the NDW2.0 Batch is based, should also do. But I 
  14.          haven't tested it. Dunno about networks.
  15.  
  16. No charge (unless you WANT to...), no liability on my part, no nothin'.
  17. Change it, give it out, sell it, make a fortune if you can and I'd pay for
  18. learning from your marketing skill. But, if you care to drop me a note
  19. telling me that you're actually using it (see end for my e-mail address),
  20. then I could show it to my wife and convince her that THAT night didn't
  21. TOTALLY go up in smoke. 9-[ Marriagesaverware? I call it RipOffBusterware.
  22.  
  23. USAGE
  24. If you're to use it on a regular basis, I don't see any reason why you don't
  25. want to automatically load it when starting Windows. After that, the "Cap"
  26. part is pretty self-explanatory. As default, the Cap is updated every ten
  27. seconds.
  28.  
  29. The "Task" part is somewhat trickier. As default, you press the RIGHT mouse
  30. button anywhere on the desktop background to bring up a dialogue box. Go on
  31. experimenting from there.
  32.  
  33. I could go ahead write a User's Manual for Captask. But I feel like being
  34. treated as an idiot everytime I read those Manuals. Anyone knowing how to
  35. start Windows should have no difficulty figuring out CapTask.
  36.  
  37. BUT, here're some things to take note on when using CapTask:
  38. 1. Put captask.wbt AND captask.wbd in your NDW directory. Otherwise, you'd
  39.    have to change a line in captask.wbt. Just browse through it and you'll
  40.    find the place.
  41. 2. NEVER choose CANCEL on any dialogue box unless you want to terminate
  42.    CapTask the clumsy way. It's the NDW Batch Runner, not me. Don't panic if
  43.    you chose the wrong task to kill. You'll have a chance to back off soon.
  44.    If you chose the wrong task to show/hide, it's no big deal to bring out
  45.    the CapTask dialogue box and toggle it the second time. Of course, second
  46.    chances are also provided for terminating CapTask, exiting/restarting
  47.    Windows, and rebooting.
  48.    Terminating CapTask by choosing CANCEL will leave the current window's
  49.    title stuck with the old time/res information. Choosing the "Exit CapTask"
  50.    option in the CapTask dialogue box, on the other hand, cleans up its own
  51.    trace.
  52. 3. When bringing up the CapTask dialogue box, press the RIGHT button AND HOLD
  53.    IT DOWN UNTIL THE BOX POPS UP. The length should be half a second on
  54.    average but could be as long as one full second if you're unlucky. The
  55.    Delay() function refuses anything fractional. You could use Yield instead
  56.    to get quicker responce here if you think it doesn't distract the CPU too
  57.    much. I just think holding down a mouse button is not such a big deal,
  58.    even for one whopping full second.
  59. The rest is optional if you're in a hurry.
  60. 4. Sometimes, for reasons that I haven't been able to elucidate, the Batch
  61.    Runner will goof up and lose value of some variables. Then the original
  62.    title goes *poof*. That's when the "Change Title" option in the CapTask
  63.    dialogue box comes handy. Other times, changing a window's title
  64.    temporarily, like switching to another directory in FileManager, can fix
  65.    the screwed-up title.
  66. 5. Batch Runner cannot kill some tasks, usually those derived from NDW. In 
  67.    particular, the Batch Runner itself. It doesn't seem to give any feedback
  68.    on whether the kill has been successful. The WinClose() function seems to
  69.    return @TRUE as long as the argument window exists. Again, it's the Batch
  70.    Runner, not me.
  71. 6. I'd recommend putting CapTask in the Launch List of NDW and assign a hotkey
  72.    to it. Just in case something goes south. A must if you were to change it
  73.    and test it. Since the "test" in DeskEditor saves the file under a
  74.    temporary name, the "Exit CapTask" option in the CapTask dialogue box
  75.    won't work correctly here.
  76. 7. If for some reason you don't like the name and want to change it, change
  77.    BOTH captask.wbt and captask.wbd so that they have the same name after
  78.    the change. This way you only have to change one line in captask.wbt.
  79.    Otherwise, two lines. Yup.
  80.  
  81.  
  82. IF YOU STILL HAVE SOME TIME TO WASTE...
  83. I've hardly ever programmed outside the good ol' FORTRAN. But some of those 
  84. shareware just get on my nerves. A wimpy little thing displaying date/time/mem
  85. takes a good portion off the precious screen real-estate and asks for $15 and
  86. keeps nagging about it. A SuperDuperTaskManagerExtender letting you see hidden
  87. windows or kill some asks for another $20 (who would use TaskManager to switch
  88. to some shown windows or to iconize/restore/maximize it?). Still another
  89. HushRushExitWin asks for still another $10. "@$%$ it," I said, "$%^$ it all."
  90. So I sit down, flipped through the NDW manual and came up with this.
  91.  
  92. Some essential and handy stuff are missing from the NDW Batch, such as more
  93. flexible ways to handle dialogue boxes. Hope it gets better in the next
  94. version. I could see ways to implement stuff like a file launcher remembering
  95. the 10 lastest-run programs along with a permanent launch list. But I'm not
  96. motivated enough as for now. You could do it yourself. It's very easy, and
  97. could be fun. Lemme know if you get something interesting with NDW Batch.
  98. It's not a power tool, but quite handy at times.
  99.  
  100. Enjoy...
  101.  
  102. Bo Peng
  103. bo@saviik.cem.msu.edu
  104.